package cn.kgc.entity;

import java.sql.Timestamp;

public class Student {

    private int studentNo;
    private String studentName;
    private String sex;
    private Timestamp bornDate;

    public Student() {

    }

    public Student(int studentNo, String studentName, String sex, Timestamp bornDate) {
        this.studentNo = studentNo;
        this.studentName = studentName;
        this.sex = sex;
        this.bornDate = bornDate;
    }

    public int getStudentNo() {
        return studentNo;
    }

    public void setStudentNo(int studentNo) {
        this.studentNo = studentNo;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Timestamp getBornDate() {
        return bornDate;
    }

    public void setBornDate(Timestamp bornDate) {
        this.bornDate = bornDate;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentNo=" + studentNo +
                ", studentName='" + studentName + '\'' +
                ", sex='" + sex + '\'' +
                ", bornDate=" + bornDate +
                '}';
    }
}
